<?php

namespace App\Module\Admin\Validator;

use App\System\Base\Validator\BaseValidator;

/**
 * 定义验证器类
 * @author huwei
 */
class BaseImageValidator extends BaseValidator
{
    protected $rules = [
        'id'       => 'required',
        'image_id' => 'required',
    ];

    protected $messages = [
        'id'       => 'id不能为空',
        'image_id' => '页面图必须上传'
    ];

    protected $attributes = [

    ];
}